home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Internet / News / Alexandra.0.82 / Source / ServerCell.h < prev    next >
Encoding:
Text File  |  1996-01-30  |  659 b   |  37 lines

  1.  
  2. #import <appkit/appkit.h>
  3.  
  4. #import "GrayCell.h"
  5.  
  6. #define MAX_A_LEN 80
  7.  
  8. @interface ServerCell:GrayCell
  9. {
  10.    BOOL slowLink;
  11.    BOOL openOnStartup;
  12.    BOOL opened;
  13.     char user[MAX_A_LEN];
  14.     char pass[MAX_A_LEN];
  15. }
  16.  
  17. - serverOpened:sender;
  18. - serverClosed:sender;
  19. - (BOOL)slowLink;
  20. - (BOOL)openOnStartup;
  21. - setSlowLink:(BOOL)v;
  22. - setOpenOnStartup:(BOOL)v;
  23. - setPasswdString:(const char*)v;
  24. - setUserString:(const char*)v;
  25.  
  26. - (BOOL)isOpen;
  27. - (const char *)user;
  28. - (const char *)pass;
  29.  
  30. - readServerOptions;
  31. - writeServerOptions;
  32.  
  33. - drawInside:(const NXRect *)cellFrame inView:controlView;
  34. - highlight:(const NXRect *)cellFrame inView:controlView lit:(BOOL)flag;
  35.  
  36. @end
  37.